home *** CD-ROM | disk | FTP | other *** search
/ Games of Daze / Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso / x2ftp / msdos / mxlibs / smixw122 / makefile < prev    next >
Makefile  |  1995-05-26  |  572b  |  26 lines

  1. COPT=-mf -oneatx -zp4 -3r
  2. LOPT=-mf -oneatx -zp4 -3r
  3.  
  4. EXE=mixtest.exe
  5. OBJ=smix.obj detect.obj mixtest.obj lowmem.obj
  6.  
  7. # Do a complete rebuild if the makefile has changed
  8. MAK=makefile
  9.  
  10. $(EXE) : $(OBJ) $(MAK)
  11.   wcl386 $(OBJ) /fe=$(EXE) $(LOPT)
  12.  
  13. detect.obj : detect.c $(MAK)
  14.   wcc386 detect.c $(COPT)
  15.  
  16. lowmem.obj : lowmem.c $(MAK)
  17.   wcc386 lowmem.c $(COPT)
  18.  
  19. # smix.c MUST be compiled with the -zu compiler switch
  20. smix.obj : smix.c lowmem.h $(MAK)
  21.   wcc386 smix.c $(COPT) -zu
  22.  
  23. mixtest.obj : mixtest.c smix.h detect.h $(MAK)
  24.   wcc386 mixtest.c $(COPT)
  25.  
  26.